home *** CD-ROM | disk | FTP | other *** search
- /*
- ------------------------------------------------------------------------------
- | Sun Microsystems, TOPS Division
- | 950 Marina Village Parkway
- | P.O. Box 4016
- | Alameda, CA 94501
- |
- | Copyright (c) 1989 Sun Microsystems, Inc. All rights reserved.
- |
- | Sun considers its source code as an unpublished, proprietary trade secret,
- | and it is available only under strict license provisions. This copyright
- | notice is placed here only to protect Sun in the event the source is deemed
- | a published work. Disassembly, decompilation, or other means of reducing the
- | object code to human readable form is prohibited by the license agreement
- | under which this code is provided to the user or company in possession of
- | this copy.
- |
- | RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government
- | is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the
- | Rights in Technical Data and Computer Software clause at DFARS 52.227-7013
- | and in similar clauses in the FAR and NASA FAR supplement.
- ------------------------------------------------------------------------------
- */
-
-
-
-
- /*
-
- INTERFACE CSTClientApp
-
- */
-
- #ifndef __CSTClientApp__
- #define __CSTClientApp__
-
-
- #include "CApplication.h"
- #include "CWriteLnWindow.h"
- #include <MenuMgr.h>
- #include "STClient.h"
-
-
- struct CSTClientApp:CApplication {
- MenuHandle fAppleMenu, fFileMenu, fEditMenu, fClientMenu;
- CWriteLnWindow* fWindow;
- /* CSTClient* fClient; */
-
-
- void ISTClientApp(void);
- void CreateMenus(void);
- void CreateWindow(void);
- void CreateClient(void);
- void DestroyClient(void);
-
- void CallFunction1(void);
- void CallFunction2(void);
- void CallFunction3(void);
- void CallFunction4(void);
- void CallFunction5(void);
-
- INT16 MenuSelectionToCmd(INT16 menu, INT16 item);
- void DoMenuCmd(INT16 cmd);
-
- /* menu actions */
- void Quit(void);
- void DoClear(void);
- void DoDebugger(void);
- void DoCreateClient(void);
- void DoDestroyClient(void);
- void DoFunction1(void);
- void DoFunction2(void);
- void DoFunction3(void);
- void DoFunction4(void);
- void DoFunction5(void);
- };
-
-
- #endif